﻿@model PraceDyplomowe2.Models.BibliografiaViewModel

@{
    ViewBag.Title = "Tu możesz dodać bibliografię do tematu pracy";
}

@section featured
{
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1>@ViewBag.Title.</h1>
            </hgroup>
        </div>
    </section>
}

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)
    @Html.HiddenFor(model => model.TematTematId)

    <fieldset>
 
        <div class="editor-field">
            @Html.EditorFor(model => model.Nazwa)
            @Html.ValidationMessageFor(model => model.Nazwa)
        </div>
        
        <p>
            <input type="submit" value="Dodaj bibliografię" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Powrót do profilu", "Details", new {id = Model.TematTematId})
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}

